Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the srt file location of Transcription client #224

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

chien-liu
Copy link
Contributor

Description

This pull request addresses issue #183. The feature request is to customize the location of the client transcription.

Changes Made

Added an argument to TranscriptionClient to specify the location where the transcription file should be saved.

Example Code

from whisper_live.client import TranscriptionClient

client = TranscriptionClient(
    "localhost",
    9090,
    lang="en",
    translate=False,
    model="small",
    use_vad=False,
    output_transcription_path="my_customized_output.srts"    # Specify the location of transcription
)

client(
    hls_url="http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8")

Issue Reference

Fixes #183

@makaveli10 makaveli10 merged commit d1de2ec into collabora:main Jun 3, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Output to user define location
2 participants